package com.qf.shopping.pojo.car;

/**
 * 访客表
 */
public class Visitor {

  //主键id
  private Long id;

  //访客唯一标识
  private String visitorGuid;

  //访客首次访问时间
  private Long firstVisitTime;

  //访客入口页面
  private String entryUrl;

  //访客IP
  private String visitorIp;

  //访客设备
  private String visitorDevice;

  //访客来源渠道
  private String visitorChannel;

  public Visitor() {
  }

  public Visitor(Long id, String visitorGuid, Long firstVisitTime, String entryUrl, String visitorIp, String visitorDevice, String visitorChannel) {
    this.id = id;
    this.visitorGuid = visitorGuid;
    this.firstVisitTime = firstVisitTime;
    this.entryUrl = entryUrl;
    this.visitorIp = visitorIp;
    this.visitorDevice = visitorDevice;
    this.visitorChannel = visitorChannel;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getVisitorGuid() {
    return visitorGuid;
  }

  public void setVisitorGuid(String visitorGuid) {
    this.visitorGuid = visitorGuid;
  }

  public Long getFirstVisitTime() {
    return firstVisitTime;
  }

  public void setFirstVisitTime(Long firstVisitTime) {
    this.firstVisitTime = firstVisitTime;
  }

  public String getEntryUrl() {
    return entryUrl;
  }

  public void setEntryUrl(String entryUrl) {
    this.entryUrl = entryUrl;
  }

  public String getVisitorIp() {
    return visitorIp;
  }

  public void setVisitorIp(String visitorIp) {
    this.visitorIp = visitorIp;
  }

  public String getVisitorDevice() {
    return visitorDevice;
  }

  public void setVisitorDevice(String visitorDevice) {
    this.visitorDevice = visitorDevice;
  }

  public String getVisitorChannel() {
    return visitorChannel;
  }

  public void setVisitorChannel(String visitorChannel) {
    this.visitorChannel = visitorChannel;
  }

  @Override
  public String toString() {
    return "Visitor{" +
            "id=" + id +
            ", visitorGuid='" + visitorGuid + '\'' +
            ", firstVisitTime=" + firstVisitTime +
            ", entryUrl='" + entryUrl + '\'' +
            ", visitorIp='" + visitorIp + '\'' +
            ", visitorDevice='" + visitorDevice + '\'' +
            ", visitorChannel='" + visitorChannel + '\'' +
            '}';
  }
}
